<?php
//
//	file: language/lang_english/lang_extend_attach.php
//	author: ptirhiik
//	begin: 13/02/2006
//	version: 1.6.1 - 24/09/2006
//	license: http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
//
//	based on : attachment_mod copyright (c) 2002 Meik Sievertsen (acydburn)
//

if ( !defined('IN_PHPBB') )
{
	die('Hacking attempt');
}

// admin part
if ( !$is || $is['admin'] || $is['attachcp'] )
{
	$lang['Lang_extend_attachcp'] = 'Attachments control panels';

	// generic
	$lang['Category_denied'] = 'Forbidden extensions';
	$lang['Link_inline'] = 'inline';
	$lang['Link_physical'] = 'physical';
	$lang['ucp_edit_attach'] = 'Can edit attachments';

	// config
	$lang['Attach_config'] = 'Configuration';
	$lang['Attach_server'] = 'Server settings';
	$lang['Click_submit_to_save'] = 'Click "Submit" to save it';
	$lang['Ftp_port'] = 'Ftp port';
	$lang['Ftp_port_explain'] = 'This is the port used by your ftp server. The default value is 21.';

	// quota def
	$lang['Attach_quota_def'] = 'Quota limits definition';

	// special cat
	$lang['No_thumbnail_choosen'] = 'You have choosen to not create thumbnail.';
	$lang['Thumbnails_not_available'] = 'Either GD and Imagick are not available. Thumbnails can not be created.';
	$lang['Imagick_not_found'] = 'Imagick has not been found.';

	// Extension groups
	$lang['Extension_groups'] = 'Extension groups';
	$lang['Extension_groups_attributs'] = 'Attributs';
	$lang['No_extension_groups'] = 'There is no file extension groups defined. Please create some.';
	$lang['Extension_group_deleted'] = 'The file extension group has been removed.';
	$lang['Extension_group_added'] = 'The file extension group has been added.';
	$lang['Extension_group_updated'] = 'The modified file extension groups have been updated.';

	// extensions
	$lang['No_extensions'] = 'There is no file extension defined. Please create some.';
	$lang['Extension_deleted'] = 'The file extension has been removed.';
	$lang['Extension_added'] = 'The file extension has been added.';
	$lang['Extension_updated'] = 'The modified file extensions have been updated.';

	// maintenance
	$lang['Attach_maintain'] = 'Maintenance';
	$lang['Attach_maintain_explain'] = 'Here you can remove from your system files that are not attached (ghosts), or attachments that are not linked to a post or a private message.';

	$lang['Renew_directory'] = 'Read attachments directory';
	$lang['Renew_directory_explain'] = 'This will browse your attachments directory to get all files present on your system.<br />You have to do it prior being able to delete files without attachment description and attachment descriptions without files.';

	$lang['Delete_unknown'] = 'Delete files without an attachment description';
	$lang['Delete_unknown_explain'] = 'This will delete all physical files present in the attachment directory but not refered with an attachment description.';

	$lang['Delete_unknown_progress'] = 'Deleting ghosts in progress : %d of %d';
	$lang['Delete_unknown_achieved'] = '%d of %d ghost files deleted';
	$lang['Delete_unknown_comment'] = 'Ghost files are files not linked to an attachment description.';

	$lang['Delete_unknown_thb_progress'] = 'Deleting ghosts thumbnails in progress : %d of %d';
	$lang['Delete_unknown_thb_achieved'] = '%d of %d ghost thumbnails deleted';
	$lang['Delete_unknown_thb_comment'] = 'Ghost thumbnails are thumbnails not matching a main file.';

	$lang['Delete_unknown_lost_progress'] = 'Deleting losts thumbnails in progress : %d of %d';
	$lang['Delete_unknown_lost_achieved'] = '%d of %d lost thumbnails deleted';
	$lang['Delete_unknown_lost_comment'] = 'Lost thumbnails are thumbnails not required suiting the attachment description.';

	$lang['Delete_deleted'] = 'Delete attachment descriptions without files';
	$lang['Delete_deleted_explain'] = 'This will delete all attachments descriptions that have no physical files.';

	$lang['Delete_deleted_progress'] = 'Removing deleted attachments desc in progress : %d of %d';
	$lang['Delete_deleted_achieved'] = '%d of %d deleted attachments desc removed';
	$lang['Delete_deleted_comment'] = 'Deleted attachments desc are attachment descriptions not linked to a physical file.';

	$lang['Delete_deleted_thb_progress'] = 'Removing deleted thumbnails desc in progress : %d of %d';
	$lang['Delete_deleted_thb_achieved'] = '%d of %d deleted thumbnails desc removed';
	$lang['Delete_deleted_thb_comment'] = 'Deleted thumbnails desc are thumbnails in attachment descriptions not linked to a physical thumbnail.';

	$lang['Delete_dead'] = 'Delete dead attachments';
	$lang['Delete_dead_explain'] = 'This will delete all attachments that are linked to a post or private message that doesn\'t exist anymore.';

	$lang['Delete_dead_progress'] = 'Removing dead posts attachments in progress : %d of %d';
	$lang['Delete_dead_achieved'] = '%d of %d dead posts attachments removed';
	$lang['Delete_dead_comment'] = 'Dead posts attachments are attachments that are not linked to a post.';

	$lang['Delete_dead_pm_progress'] = 'Removing dead pm attachments in progress : %d of %d';
	$lang['Delete_dead_pm_achieved'] = '%d of %d dead pm attachments removed';
	$lang['Delete_dead_pm_comment'] = 'Dead pm attachments are attachments that are not linked to a private message.';

	$lang['Delete_orphan'] = 'Delete orphan attachments';
	$lang['Delete_orphan_explain'] = 'This will delete all attachments that are not linked to an existing attachment description, and all attachment descriptions that are not linked to an existing attachment.';

	$lang['Delete_orphan_progress'] = 'Removing orphan attachments in progress : %d of %d';
	$lang['Delete_orphan_achieved'] = '%d of %d orphan attachments removed';
	$lang['Delete_orphan_comment'] = 'Orphan attachments are attachments that are not linked to an attachment description.';

	$lang['Delete_orphan_desc_progress'] = 'Removing orphan attachment desc in progress : %d of %d';
	$lang['Delete_orphan_desc_achieved'] = '%d of %d orphan attachment desc removed';
	$lang['Delete_orphan_desc_comment'] = 'Orphan attachment desc are attachment description that are not linked to an attachment.';

	$lang['Resync_posts'] = 'Resynchronise posts and private messages';
	$lang['Resync_posts_explain'] = 'This will remove links from posts and private messages that are not pointing to a valid attached file, and will recompute the attachment flag.';

	$lang['Resync_posts_progress'] = 'Removing post attachments lost in progress : %d of %d';
	$lang['Resync_posts_achieved'] = '%d of %d post attachments lost removed';
	$lang['Resync_posts_comment'] = 'Posts attachments lost are attachments not existing linked to posts.';

	$lang['Resync_posts_pflag_progress'] = 'Re-adding post attachments flags in progress : %d of %d';
	$lang['Resync_posts_pflag_achieved'] = '%d of %d post attachments flags re-added';
	$lang['Resync_posts_pflag_comment'] = 'Post attachments flags are flags that were missing on posts with attachments.';

	$lang['Resync_posts_pm_progress'] = 'Removing pm attachments lost in progress : %d of %d';
	$lang['Resync_posts_pm_achieved'] = '%d of %d pm attachments lost removed';
	$lang['Resync_posts_pm_comment'] = 'Pm attachments lost are attachments not existing linked to private messages.';

	$lang['Resync_posts_pmflag_progress'] = 'Re-adding pm attachments flags in progress : %d of %d';
	$lang['Resync_posts_pmflag_achieved'] = '%d of %d pm attachments flags re-added';
	$lang['Resync_posts_pmflag_comment'] = 'Pm attachments flags are flags that were missing on private messages with attachments.';

	$lang['Resync_topics'] = 'Resynchronise topics';
	$lang['Resync_topics_explain'] = 'This will recompute the attachment flag for topics.';

	$lang['Resync_topics_progress'] = 'Removing topics attachments lost in progress : %d of %d';
	$lang['Resync_topics_achieved'] = '%d of %d topics attachments lost removed';
	$lang['Resync_topics_comment'] = 'Topics attachments lost are attachments not existing linked to topics.';

	$lang['Resync_topics_flag_progress'] = 'Re-adding topic attachments flags in progress : %d of %d';
	$lang['Resync_topics_flag_achieved'] = '%d of %d topic attachments flags re-added';
	$lang['Resync_topics_flag_comment'] = 'Topic attachments flags are flags that were missing on topics with attachments.';

	$lang['Error_open_ftp'] = 'Unable to get Raw File Listing. Please be sure the LIST command is enabled at your FTP Server. Another reason could be that the directory %s does not exist.';
	$lang['Error_open_dir'] = 'Is Safe Mode Restriction in effect? The Attachment Mod seems to be unable to collect the Attachments within the upload Directory. Try to use FTP Upload to circumvent this error. Another reason could be that the directory %s does not exist.';
	$lang['Error_no_files_found'] = 'No files have been found on your download directory.';

	// management
	$lang['Attach_management'] = 'Management';

	// statistics
	$lang['Attach_statistics'] = 'Statistics';
	$lang['Attach_statistics_explain'] = 'Here you can view the attachments statistics.';

	// users attachments
	$lang['Attach_userlist'] = 'Users attachments';
	$lang['Attach_userlist_explain'] = 'Here you can view and manage all attachments based on Users, Attachments, Views etc...';
	$lang['No_users_search_match'] = 'No users match your search criteria.';

	// search
	$lang['Attachments_updated'] = 'The attachments descriptions have been successfully updated.';
}

if ( !$is || $is['admin'] || $is['attachcp'] || $is['usercp'] )
{
	// search
	$lang['Attachments'] = 'Attachments';
	$lang['Attach_search'] = 'Attachments search';
	$lang['Attach_search_explain'] = 'Here you can search for attachments matching various criteria.';
	$lang['No_attach_search_match'] = 'No Attachments met your search criteria';
	$lang['Attachments_deleted'] = 'The selected attachments descriptions have been successfully deleted.';
	$lang['Click_return_attach_search'] = 'Click %sHere%s to return to attachments search panel.';

	$lang['Search_wildcard_explain'] = 'Use * as a wildcard for partial matches';
	$lang['Size_between'] = 'Attachment size is between';
	$lang['Count_between'] = 'Download count is between';
	$lang['More_days_old'] = 'More than this many days old';

	$lang['Attachments_count'] = '[%d Attachments]';
	$lang['Attachments_count_1'] = '[%d Attachment]';
	$lang['All_Attachments'] = 'All attachments';

	$lang['Sort_Attachments'] = 'Attachments';
	$lang['Sort_Size'] = 'Size';
	$lang['Sort_Filename'] = 'Filename';
	$lang['Sort_Comment'] = 'Comment';
	$lang['Sort_Extension'] = 'Extension';
	$lang['Sort_Downloads'] = 'Downloads';
	$lang['Sort_Posttime'] = 'Post Time';
	$lang['Sort_Posts'] = 'Posts';

	$lang['Downloads'] = 'Downloads';
	$lang['Post_time'] = 'Post Time';
	$lang['Posted_in_topic'] = 'Posted in Topic';

	// attach rules
	$lang['No_auths_to_rules'] = 'You are not authorised to see these settings.';

	// low level api
	$lang['Ftp_error_not_connected'] = 'Ftp channel not opened.';
	$lang['Ftp_error_no_srcfile'] = 'Unable to upload file. The given source has not been uploaded.';
	$lang['Ftp_error_no_tmpfile'] = 'Unable to create a temporary file.';
	$lang['General_delete_error'] = 'Unable to delete the file in %s directory.';

	$lang['Too_many_identical_name'] = 'Too many files with the same name : upload aborted.';
}

// generic
$lang['Rules_attach_can'] = 'You <b>can</b> %sattach files%s in this forum';
$lang['Rules_attach_cannot'] = 'You <b>cannot</b> attach files in this forum';
$lang['Rules_download_can'] = 'You <b>can</b> download files in this forum';
$lang['Rules_download_cannot'] = 'You <b>cannot</b> download files in this forum';
$lang['Sorry_auth_view_attach'] = 'Sorry but you are not authorized to view or download this Attachment';

?>